package com.quxian.chambercommerce.service;

import java.util.List;
import java.util.Map;

import com.quxian.chambercommerce.bean.MemberInfoEntity;
import com.quxian.chambercommerce.bean.StaffInfoEntity;


public interface LoginService {
	
	public StaffInfoEntity login(String loginName, String password) throws Exception ;
	
	public MemberInfoEntity memberLogin(String loginName,String password) throws Exception ;
	
	public Integer checkStaffOnly(String userName);
	
	public void registerStaff(StaffInfoEntity staff) throws Exception ;
	
	public Integer registerMember(MemberInfoEntity member)throws Exception ;
	
	public void updateStaffAuth(Map<String,Object> map)throws Exception ;
	
	public List<StaffInfoEntity> getAllStaff()throws Exception ;
	
	public void deleteStaffById(Integer staffId);

	public StaffInfoEntity getStaffById(Integer staffId);
	
}
